﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetworkPower.DataModel.Models
{
    public partial class LoopLine
    {
        public System.Guid LoopLineId { set; get; }
        public string Description { set; get; } //说明
        public string DescriptionColor { set; get; }//说明颜色
        public string InnerWire { set; get; } //内部配线
        public string TerminalNo { set; get; }//端子号
        public string TerminalNoColor { set; get; }//端子号颜色
        public string OuterWire { set; get; } //外部配线
        public string CircuitNo { set; get; }//回路编号
        public bool IsTitle { get; set; }//判断是否为第一行
        public string FullTerminalNo { get; set; }

        public string FatheTerminalNo { get; set; }

        public int RowIndex { get; set; } //行号，用于排序
        public bool? IsMatched { get; set; } //是否匹配，用颜色标识
        public Guid ShortConnectTo { get; set; } //短接到哪条线上
        public Guid DepartmentId { get; set; }// 属于哪个sheet的

        public Guid VoltageId { get; set; } //属于哪个电压
        public Guid SeperatorTypeId { get; set; }//属于哪个间隔类型
        public Guid EquipmentId { get; set; }
        public string UnitId { get; set; } // 属于那个安装单位和间隔名称

        public Guid RuleTypeId { get; set; } //属于哪个类型的，是电压等级，还是电流，这个值来自于预定义的规则
    }
}
